package com.zhentao.mapper;

import com.zhentao.classManager.dto.SAnswerDto;
import com.zhentao.classManager.pojo.vo.SAnswerExamInfoVo;
import com.zhentao.domain.SAnswer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author song-xinhang
* @description 针对表【s_answer】的数据库操作Mapper
* @createDate 2024-07-31 10:35:37
* @Entity com.zhentao.domain.SAnswer
*/
public interface SAnswerMapper extends BaseMapper<SAnswer> {

    /**
     * 查询历史考试信息
     * @Param("userId")
     * @Return List<SAnswer>
     * */
    List<SAnswerExamInfoVo> selectByUserId(@Param("dto") SAnswerDto sAnswerDto);
}